@{
    ViewData["Title"] = "User Edit";
}
<div>
    <h3>@ViewData["Title"]</h3>
</div>
<form id="userForm">
    <div class="form-group">
        <label for="account">Account: </label>
        <input type="text" class="form-control" id="account" name="account" placeholder="Enter account" value="@ViewBag.user.account">
    </div>
    <div class="form-group">
        <label for="name">Name: </label>
        <input type="text" class="form-control" id="name" name="name" placeholder="Enter name" value="@ViewBag.user.name">
    </div>
    <div class="form-group">
        <label for="password">Password: </label>
        <input type="password" class="form-control" id="password" name="password" placeholder="Password">
    </div>
    <div class="form-group">
        <label for="password2">Repeat Password: </label>
        <input type="password" class="form-control" id="password2" name="password2" placeholder="Repeat Password">
    </div>
    <div class="form-group" style="display:none">
        <label for="id">Repeat Password: </label>
        <input type="text" class="form-control" id="id" name="id" value="@ViewBag.user.id">
    </div>
    <button id="btnSave" style="margin-top:10px;" type="button" class="btn btn-primary">Save</button>
    <div id="alertMsg" style="color:#f71c1c;font-size:14px"><p class="font-weight-light"></p></div>
</form>
@section Scripts 
{
    <script src="~/js/user/edit.js"></script> 
}